package com.rambler.extension.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.rambler.common.entity.BaseEntity;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;


/**
 * @author suhao
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("ext_site_icon")
public class ExtSiteIcon extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 网站host，不带协议，例如 example.com */
    @TableField("host")
    private String host;

    /** 网站图标地址 */
    @TableField("icon_url")
    private String iconUrl;

    /** 网站图标对应文件系统中的id */
    @TableField("icon_id")
    private String iconId;

    /** 网站名称 */
    @TableField("title")
    private String title;

    /** 网站描述/备注 */
    @TableField("description")
    private String description;

    /** 状态(1=正常,0=禁用) */
    @TableField("status")
    private Integer status;
}